<table class="tb tb-b width-100 c-t-center" data-toggle="tbHover">
    <tr>
        <th style="width:30%">任务名称</th>
        <th>封面</th>
        <th>类型</th>
        <th>开始</th>
        <th>结束</th>
        <th>数量</th>
        <th>单价</th>
        <th>已参与</th>
        <th>已完成</th>
        <th>排序</th>
        <th>发布时间</th>
        <th style="width:50px">状态</th>
        <th width="150px">操作</th>
    </tr>
    <volist name="list" id="vo">
        <tr data-id="{$vo.id}">
            <td>{:mbSubstr($vo['title'],30)}</td>
            <td><img src="{$vo.cover}" width="50" height="50"></td>
            <td>{$typeDic[$vo['type']]}</td>
            <td>{:date("Y-m-d",strtotime($vo['begin_time']))}</td>
            <td>{:date("Y-m-d",strtotime($vo['end_time']))}</td>
            <td>{$vo.num}</td>
            <td>{:changePrice($vo['income'])}</td>
            <td>{$vo.join_num}</td>
            <td>{$vo.finish_num}</td>
            <td>{$vo.task_order}</td>
            <td>{:date("Y-m-d",strtotime($vo['add_time']))}</td>
            <td>
                <if condition="$vo['task_state'] eq -1">
                    <span class="c-f00">已删除</span><br />{$vo.del_msg}
                    <else />
                    正常
                </if>
            </td>
            <td>
                <if condition="$vo['task_state'] neq -1">
                    <a href="javascript:;" data-href="/Console/Task/editTask?id={$vo.id}"
                        class="jump-href c-btn c-btn-green m5 c-btn-small">编辑</a>

                    <a href="javascript:;" data-id="{$vo.id}" class="del-btn c-btn c-btn-red  m5 c-btn-small">删除</a>
                </if>
            </td>
        </tr>
    </volist>
</table>

<div class="my-page c-t-right mt20 clearfix" data-total="{$pageTotal}">
    <div class="fl c-f17 c-999" style="line-height: 34px">共计：<span class="c-007cd9 pr10">{$total}</span>条</div>
    {$pageHtml}
</div>